<?
$map = $this->map;
?>

<div class="content-box column-left">
    <div class="content-box-header">
        <h3>Image</h3>
    </div>

    <div class="content-box-content">
        <div class="tab-content default-tab">
            <? if (empty($map['url'])): ?>
            <h4>No picture. It's highly recommended to upload the picture.</h4>
            <? else: ?>
            <a href="<?= $map['url'] ?>" target="_blank"><img src="<?= $map['url'] ?>" alt="<?= $map['title'] ?>"/></a>
            <? endif; ?>
        </div>
    </div>
</div>


<div class="content-box column-right">
    <div class="content-box-header">
        <h3>File</h3>
    </div>

    <div class="content-box-content">
    <div class="tab-content default-tab">
        <? if (empty($map['file'])): ?>
        <h4>
            No file, please select one.
        </h4>
            </div>
            <? else: ?>
        <a href="<?= $map['file'] ?>">Download file</a>
        <? endif; ?>
    </div>
</div>
    
</div>


<div class="clear"></div>

<div class="content-box">
    <div class="content-box-header"><h3>Quest</h3>
        <ul class="content-box-tabs">
            <li><a class="default-tab" href="#tab1">Form</a></li>
        </ul>
        <div class="clear"></div>
    </div>
    
    <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
            <?= $this->form ?>
        </div>
    </div>
</div>
    